<div class="sandbox">
	<% if user == get_user -%>
		<h2>Your Profile <span>(<%= nav_link 'Edit Profile'.t,	'/user',	'edit', {:id => user.id} -%>)</span></h2>
		<% else -%>
		<h2>Profile for
			<%= user.username -%> <span>(<%= nav_link 'Edit Profile'.t,	'/user',	'edit', {:id => user.id} -%>)</span>
		</h2>
		<% end -%>
			<dl>
				<dt>Username</dt>
					<dd><%= white_list user.username -%></dd>
				<dt>Email</dt>
					<dd><%= white_list user.email -%></dd>
				<dt>Current Status</dt>
					<dd><%= render :partial => 'status', :locals => { :user => user } -%></dd>
				<dt>Bio</dt>
					<dd><%= white_list user.bio -%></dd>
				<dt>Fandoms</dt>
					<dd><%= white_list user.fandoms -%></dd>
				<dt>Links</dt>
					<dd><%= render :partial => '/userlink/listing', :locals => { :user_to_edit => user } -%></dd>
				<dt>Skills</dt>
					<dd><%= render :partial => '/skill/listing', :locals => { :skills => userskills } -%></dd>
			</dl>
<hr class="clear" />
</div>
<div class="sandbox">
	<% if user == get_user -%>
		<h2>Your Jobs</h2>
	<% else -%>
		<h2>Jobs for <%= user.username -%></h2>
	<% end -%>
		<%= render :partial => '/assignment/job_listing', :locals => {:user => user} %>
		
		<p><%= link_to 'See available jobs.'.t, :controller => 'job', :action => 'index' %></p>
		<hr class="clear" />
</div>
